package com.bachongLightNovel.model.pojo.works;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author vermouth
 */

@Data
public class Collect {

    private Long id;
    @JsonFormat(shape =JsonFormat.Shape.STRING)
    private Long userId;
    private Long novelId;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    private LocalDateTime createTime;
    private Boolean isCollect;
}
